<table class="form_table" cellpadding="0" cellspacing="0" style="border-top: 0px;">
  <caption style="border-bottom: 0px;">
    <%= "#{Permission.human_name}" %>
  </caption>
  <tr>
    <th><%= "#{Permission.human_attribute_name(:action)}" %></th>
    <th><%= "#{Permission.human_attribute_name(:object_type)}" %></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>
  <% @permissions.each do |permission| %>
    <tr class="<%= cycle('odd', 'even') %>">
      <td class="<%= current_cycle %>"><%= permission.action %></td>
      <td class="<%= current_cycle %>"><%= permission.object_type %></td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:show), permission %> ]</td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:edit), edit_permission_path(permission) %> ]</td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:delete), permission, :confirm => t(:prompt_delete_x, :x => permission.action), :method => :delete %> ]</td>
    </tr>
  <% end %>
</table>